package org.smile.homework01.kevin.MemberCard;

import java.util.Scanner;

public class Application {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        CardFactory cardFactory = new CardFactory();
        while(true) {
            System.out.println("请输入会员号：");
            String id = in.next();
            CreatCard card = cardFactory.getMemberCard(id);
            card.print();
        }
    }
}
